@import '../assets/import.less';

.co-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  font-size: 32px;
  padding: 0 30px;
  position: relative;
  background-color: @dialogBackgroundColor;
  .co-icon {
    font-size: 40px;
  }
}

.co-header-link {
  color: @colorBlue;
  position: relative;
  .active-highlight(.2, @alternateTextColor);
  .co-header-left & {
    margin-right: 40px;
  }
  .co-header-right & {
    margin-left: 40px;
  }
}

.co-header-left,
.co-header-right {
  display: flex;
  align-items: center;
  height: 100%;
  color: @colorTextSecondary;
}

.co-header-right {
  margin-left: auto;
}

.co-header-center {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  font-size: 36px;
  color: @colorBlue;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
}
